# $Id: PKGBUILD 156352 2012-04-17 16:02:26Z andyrtr $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xorg-xlsfonts
pkgver=1.0.4
pkgrel=1
pkgdesc='List available X fonts'
url='http://xorg.freedesktop.org/'
license=('custom')
arch=('i686' 'x86_64')
depends=('libx11')
makedepends=('xorg-util-macros')
source=("http://xorg.freedesktop.org/archive/individual/app/xlsfonts-${pkgver}.tar.bz2")
sha1sums=('6fc23537797bb1ae4945efd8c01e675edf4a4c3f')

build() {
	cd "${srcdir}/xlsfonts-${pkgver}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/xlsfonts-${pkgver}"
	make DESTDIR="${pkgdir}" install
	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
